package com.supcon.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author BeautifulHao
 * @description
 * @create 2019-06-05 14:36
 **/
@Controller
public class HomeController {

    @RequestMapping(value = {"/pages/**","/"})
    public String forwardRouter(){
        return "forward://index.html";
    }

//    @RequestMapping(value = {"/pages/system","/"})
//    public String forwardRouter(){
//        return "forward://index.html";
//    }
//
//    @RequestMapping(value = {"/pages/system/user"})
//    public String forwardUserRouter(){
//        return "forward://pages//system/user//index.html";
//    }
//
//    @RequestMapping(value = {"/pages/system/userDetail"})
//    public String forwardUserDetailRouter(){
//        return "forward://pages//system/userDetail//index.html";
//    }
//
//    @RequestMapping(value = {"/pages/system/role"})
//    public String forwardRoleRouter(){
//        return "forward://pages//system/role//index.html";
//    }
//
//    @RequestMapping(value = {"/pages/system/batchAdd"})
//    public String forwardBatchAddRouter(){
//        return "forward://pages//system/batchAdd//index.html";
//    }
}
